<?php  if(!empty($output['bargain_list'])){ ?>
    <?php foreach($output['bargain_list'] as $k =>$v) { ?>
        <div class="commodity">

            <div class="img">

                  <!--  <img class="icon" src="resource/images/img-20-1.png">-->

                <a href="index.php?act=bargain&op=bargain_info&bargain_id=<?php echo $v['bargain_id']; ?>">
                    <img src="<?php echo getbargain_img($v['bg_thumb']); ?>" />
                </a>
            </div>
            <div class="information">
                <p><?php echo $v['bg_title']; ?></p>
                <?php if($v['is_hot'] == 1) {?>
                    <span>仅限<?php echo $v['bg_store'];?>份</span>
                <?php  }?>
                <p class="participants"><?php echo $v['bg_rs']; ?>人参与</p>
                <div class="price">
                    <p class="originalPrice">原价 <span>￥<?php echo $v['bg_price']; ?></span>  </p>
                    <p class="floorPrice">最低价  <span>￥<?php  echo $v['bg_floorprice'];?></span></p>
                </div>
                <a href="index.php?act=bargain&op=bargain_info&bargain_id=<?php echo $v['bargain_id']; ?>">我要参与</a>
            </div>
        </div>
    <?php } ?>
<?php } ?>

